package com.example.send.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 点对点模式
 */
@Configuration
public class RabbitmqPointToPointConfig {


    public static final String QUEUE_WORK = "queue_work";


    @Bean
    public Queue queueWork() {
        return new Queue("queue_work");
    }

}
